#ifndef ODMSTRANSFERDIALOG_H
#define ODMSTRANSFERDIALOG_H

#include <QDialog>
#include <QCoreApplication>
#include <QProcess>

namespace Ui {
class ODMSTransferDialog;
}

class ODMSTransferDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ODMSTransferDialog(QWidget *parent = nullptr);
    void setLastPath(QString path);
    QString getLastPath();
    ~ODMSTransferDialog();

private slots:
    void on_toolButton_odmsLog_clicked();

    void on_pushButton_cancel_clicked();

    void on_pushButton_confirm_clicked();

    void onProcessFinished(int exitCode, QProcess::ExitStatus exitStatus);


private:
    Ui::ODMSTransferDialog *ui;
    QProcess* process;
    QString lastPath;
};

#endif // ODMSTRANSFERDIALOG_H
